﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace ExcellentCRM.DataService.Models
{
    /// <summary>
    /// 课程
    /// </summary>
    public class Course : BaseModel
    {
        [Required(AllowEmptyStrings = false)]
        [StringLength(30)]
        public string CourseName { get; set; }

        public virtual IList<Grade> Grades { get; set; }
    }
}